<?php

  require_once "JooS/Server/Controller.php";

  class JooS_Server_Controller_404 extends JooS_Server_Controller {
    public function __call($methodName, $argv) {
      self::throwException("Controller for '". $this->getRequest()->getResourceUri() ."' was not found", 404, $this->getRequest()->getQuery());
    }
  }

?>